package org.example.myleet.p1030;

public class Main {
    public static void main(String[] args) {
        //case 1
//        int R = 1, C = 2, r0 = 0, c0 = 0;
        //case 2
//        int R = 2, C = 2, r0 = 0, c0 = 1;
        //case 3
        int R = 2, C = 3, r0 = 1, c0 = 2;
        Solution solution = new Solution();
        int[][] answer = solution.allCellsDistOrder(R, C, r0, c0);
        System.out.println(answer);
    }
}
